<?php
/**
 * @content: 路由URI
 * @author: xuch
 */
class Router {
	public function __construct () {
	
	}
	
	public static function router ($path, $param) {
		if (empty($path)) {
			//default
			$path = array('Imu_Controller_Index', 'index');
		}
		$class = $path[0];
		$method = $path[1];
		$controller = new $class();
		$controller->$method();
	}
}